﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="MySite.page.Contact" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../style/base.css" rel="stylesheet" />
    <link href="../style/page.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="page page-contact">
            <h1>联系我们</h1>
            <ul class="no-list">
                <li style="height: 40px;">姓    名：
                    <asp:TextBox ID="txtUserName" runat="server" BackColor="White"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfUserName" ControlToValidate="txtUserName" ForeColor="Red" ErrorMessage="姓名不能为空！" runat="server"></asp:RequiredFieldValidator>
                </li>
                <li style="height: 40px;">手    机：
                    <asp:TextBox ID="txtPhone" runat="server" BackColor="White"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtPhone" ForeColor="Red" ErrorMessage="手机不能为空！" runat="server"></asp:RequiredFieldValidator>
                </li>
                <li style="height: 40px;">电子邮箱：
                    <asp:TextBox ID="txtEmail" runat="server" BackColor="White"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtEmail" ForeColor="Red" ErrorMessage="邮箱不能为空！" runat="server"></asp:RequiredFieldValidator>
                </li>
                <li style="height: 40px;">QQ:<asp:TextBox ID="txtQQ" runat="server" BackColor="White"></asp:TextBox></li>
                <li style="height: 40px;">留    言:</li>
                <li style="height: 100px;">
                    <asp:TextBox ID="txtOpinions" runat="server" TextMode="MultiLine" Rows="10" Width="400px" BackColor="White"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="txtOpinions" ForeColor="Red" ErrorMessage="请留言或提点意见吧！" runat="server"></asp:RequiredFieldValidator>
                </li>
            </ul>
            <asp:Button ID="btnSave" runat="server" Text="提  交" OnClick="btnSave_Click" />
        </div>
    </form>
</body>
</html>
